import Vue from 'vue'
import Router from 'vue-router'
import Login from "../view/Login.vue";
import Home from "../view/Home.vue";
import users from "../view/sys/Users.vue";
import resource from "../view/sys/Resource.vue";
Vue.use(Router)

export default new Router({
 /* routes: [
    {
      path: '/home',
      name: 'Home',
      component: Home,
      children: [
        {
          path: '/users',
          name: 'users',
          component: users,
        },
        {
          path: '/resource',
          name: 'resource',
          component: resource,
        },
      ]
    }, {
      path: '/',
      name: 'login',
      component: Login
    },
  ] */
})
